package OOP.HouseRent;

public class Houses {
    private int count;
    private String name;
    private long number;
    private String address;
    private int rentmoney;
    String isranted;

    public Houses(){}

    public Houses(String name, long number, String address, int rentmoney, String isranted) {
        this.name = name;
        this.number = number;
        this.address = address;
        this.rentmoney = rentmoney;
        this.isranted = isranted;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setCount(int count) {
        this.count = count;
    }

    public void setNumber(long number) {
        this.number = number;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public void setRentmoney(int rentmoney) {
        this.rentmoney = rentmoney;
    }

    public void setIsranted(String isranted) {
        this.isranted = isranted;
    }

    public String getName() {
        return name;
    }

    public long getNumber() {
        return number;
    }

    public String getAddress() {
        return address;
    }

    public int getRentmoney() {
        return rentmoney;
    }

    public int getCount() {
        return count;
    }

    public String getIsranted() {
        return isranted;
    }

    public String isIsranted() {
        return isranted;
    }

    public String showinfo(){
        return count+"\t\t"+name+"\t\t"+number+"\t\t"+address+"\t\t"+rentmoney+"\t\t"+isranted;
    }
}
